<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title></title>
<!--框架必需start-->
<script type="text/javascript" src="../../libs/js/jquery.js"></script>
<script type="text/javascript" src="../../libs/js/language/cn.js"></script>
<script type="text/javascript" src="../../libs/js/framework.js"></script>
<link href="../../libs/css/import_basic.css" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" type="text/css" id="skin" prePath="../../"/>
<link rel="stylesheet" type="text/css" id="customSkin"/>
<!--框架必需end-->

<!--数据表格start-->
<script src="../../libs/js/table/quiGrid.js" type="text/javascript"></script>
<!--数据表格end-->
</head>
<body>
<div class="red">此示例由后台支持</div>
<!--
 <button type="button" class="default"  onclick='loaddataHandler()' >点击设置url</button>

	<div class="page_content">
		<div id="maingrid"></div>
    </div>
    -->
	<script type="text/javascript">
        
       
       //数据表格使用
        var g;
		function initComplete(){
			 g = $("#maingrid").quiGrid({
               columns:[
			{ display: '姓名', name: 'userName',     align: 'left', width: "18%"},
		    { display: '所属部门', name: 'orgName', 	 align: 'left', width: "20%"},
		    { display: '性别', name: 'userSex', align: 'left', width: "10%"},
		    { display: '入职时间', name: 'userEmployTime', 	 align: 'left',  width:"20%"} ,
		    { display: '学历', name: 'userEducation', 	 align: 'left',  width:"20%"} 
		  ],
	  sortName: 'userId',rownumbers:true,checkbox:true,url:'',
    height: '100%', width:"100%",pageSize:5,percentWidthMode:true
            });
		}
        function loaddataHandler(){
			g.setOptions({url:'../../userAction.do?method=getUsers'})
			g.loadData();
		}
    </script>	
</body>
</html>